<%--
  Created by IntelliJ IDEA.
  User: MK
  Date: 2020/10/7
  Time: 11:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>获取参数测试</title>
</head>
<body>
    <form action="/servlet2/getpar" method="post">
        用户名：<input type="text" name="name"><br/>
        密码：<input type="password" name="password"><br/>
        爱好：<input type="checkbox" name="hobby" value="打羽毛球">打羽毛球
        <input type="checkbox" name="hobby" value="踢足球">踢足球
        <input type="checkbox" name="hobby" value="峡谷6日游">峡谷6日游<br/>
        <input type="submit" value="提交">
    </form>
</body>
</html>
